﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using DslModeling = global::Microsoft.VisualStudio.Modeling;
using DslDesign = global::Microsoft.VisualStudio.Modeling.Design;
using DslDiagrams = global::Microsoft.VisualStudio.Modeling.Diagrams;

namespace devtm.AutoMapper
{

    internal sealed partial class FixUpDiagram
    {

        private DslModeling.ModelElement GetParentForMappingSourceReferencesMapper(MappingSourceReferencesMapper mappingSourceReferencesMapper)
        {
            return mappingSourceReferencesMapper.MappingSource.TypeElement;
        }

        private DslModeling.ModelElement GetParentForMappingDestinationReferencesMapper(MappingDestinationReferencesMapper mappingDestinationReferencesMapper)
        {
            return mappingDestinationReferencesMapper.MappingDestination.TypeElement;
        }

    }

}

